package blazingbubble.legacy.game;

import java.util.Comparator;
import java.util.LinkedList;

import blazingbubble.legacy.Point;
import blazingbubble.legacy.Pair;

public class AttachingPointComparator implements Comparator<Pair<Point, LinkedList<Bubble>>>
{
	public int compare(Pair<Point, LinkedList<Bubble>> first, Pair<Point, LinkedList<Bubble>> second)
	{
		return second.getSecond().size() - first.getSecond().size();
	}
}
